package sealte.hvpms.dao;

import java.util.List;

import sealte.hvpms.pojo.Message;

public interface MessageDAO {
	
	public boolean addNew(Message mes,int from);
	
	public int getAllRecorders(String kw);
	
	public List<Message> listAll(int currentPage,int lineSize,String kw);
	
	public boolean deleteByID(int id);
	
	public boolean batchDeleteByID(int[] mes_ids);
	
	public Message getMessageByID(int id);
	
	public boolean modifyMessage(Message mes);
	
}
